<?php


namespace app\admin\middleware;


class Check
{

    public function handle($request, \Closure $next){
        echo 'check';
        $request->name = 'zhangsan';
        return $next($request);
    }

}